Optimal. Leaf size=46 \[ \frac{2 \left (a+b x^3\right )^{3/2} (A b-a B)}{9 b^2}+\frac{2 B \left (a+b x^3\right )^{5/2}}{15 b^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.128913, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{2 \left (a+b x^3\right )^{3/2} (A b-a B)}{9 b^2}+\frac{2 B \left (a+b x^3\right )^{5/2}}{15 b^2} \]
Antiderivative was successfully verified.
[In] Int[x^2*Sqrt[a + b*x^3]*(A + B*x^3),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 12.0922, size = 41, normalized size = 0.89 \[ \frac{2 B \left (a + b x^{3}\right )^{\frac{5}{2}}}{15 b^{2}} + \frac{2 \left (a + b x^{3}\right )^{\frac{3}{2}} \left (A b - B a\right )}{9 b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2*(B*x**3+A)*(b*x**3+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0444034, size = 34, normalized size = 0.74 \[ \frac{2 \left (a+b x^3\right )^{3/2} \left (-2 a B+5 A b+3 b B x^3\right )}{45 b^2} \]
Antiderivative was successfully verified.
[In] Integrate[x^2*Sqrt[a + b*x^3]*(A + B*x^3),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 31, normalized size = 0.7 \[{\frac{6\,bB{x}^{3}+10\,Ab-4\,Ba}{45\,{b}^{2}} \left ( b{x}^{3}+a \right ) ^{{\frac{3}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2*(B*x^3+A)*(b*x^3+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.37161, size = 66, normalized size = 1.43 \[ \frac{2}{45} \, B{\left (\frac{3 \,{\left (b x^{3} + a\right )}^{\frac{5}{2}}}{b^{2}} - \frac{5 \,{\left (b x^{3} + a\right )}^{\frac{3}{2}} a}{b^{2}}\right )} + \frac{2 \,{\left (b x^{3} + a\right )}^{\frac{3}{2}} A}{9 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*sqrt(b*x^3 + a)*x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.248056, size = 68, normalized size = 1.48 \[ \frac{2 \,{\left (3 \, B b^{2} x^{6} +{\left (B a b + 5 \, A b^{2}\right )} x^{3} - 2 \, B a^{2} + 5 \, A a b\right )} \sqrt{b x^{3} + a}}{45 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*sqrt(b*x^3 + a)*x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.74213, size = 117, normalized size = 2.54 \[ \begin{cases} \frac{2 A a \sqrt{a + b x^{3}}}{9 b} + \frac{2 A x^{3} \sqrt{a + b x^{3}}}{9} - \frac{4 B a^{2} \sqrt{a + b x^{3}}}{45 b^{2}} + \frac{2 B a x^{3} \sqrt{a + b x^{3}}}{45 b} + \frac{2 B x^{6} \sqrt{a + b x^{3}}}{15} & \text{for}\: b \neq 0 \\\sqrt{a} \left (\frac{A x^{3}}{3} + \frac{B x^{6}}{6}\right ) & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2*(B*x**3+A)*(b*x**3+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.217607, size = 63, normalized size = 1.37 \[ \frac{2 \,{\left (5 \,{\left (b x^{3} + a\right )}^{\frac{3}{2}} A + \frac{{\left (3 \,{\left (b x^{3} + a\right )}^{\frac{5}{2}} - 5 \,{\left (b x^{3} + a\right )}^{\frac{3}{2}} a\right )} B}{b}\right )}}{45 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^3 + A)*sqrt(b*x^3 + a)*x^2,x, algorithm="giac")
[Out]